package com.ruan.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName:GoodsCenterOpenfeign
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/7/5 8:30
 **/
@FeignClient(value = "goods-center",path = "/goods")
public interface GoodsCenterOpenfeign {
    @RequestMapping("/addSales/{id}/{count}")
    public void addSales(@PathVariable(value = "id") Integer id, @PathVariable(value = "count") Integer count);
}
